<?php

namespace Wbi\Bundle\SocialBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Wbi\Bundle\SocialBundle\Entity\Sfnotices
 *
 * @ORM\Table(name="sfnotices")
 * @ORM\Entity
 */
class Sfnotices
{
    /**
     * @var integer $id
     *
     * @ORM\Column(name="id", type="bigint", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;

    /**
     * @var integer $senderId
     *
     * @ORM\Column(name="sender_id", type="bigint", nullable=false)
     */
    private $senderId;

    /**
     * @var string $receiverId
     *
     * @ORM\Column(name="receiver_id", type="string", length=255, nullable=false)
     */
    private $receiverId;

    /**
     * @var string $guestEmail
     *
     * @ORM\Column(name="guest_email", type="string", length=50, nullable=true)
     */
    private $guestEmail;

    /**
     * @var integer $postId
     *
     * @ORM\Column(name="post_id", type="bigint", nullable=true)
     */
    private $postId;

    /**
     * @var string $link
     *
     * @ORM\Column(name="link", type="string", length=255, nullable=true)
     */
    private $link;

    /**
     * @var string $linkText
     *
     * @ORM\Column(name="link_text", type="string", length=200, nullable=true)
     */
    private $linkText;

    /**
     * @var string $message
     *
     * @ORM\Column(name="message", type="text", nullable=false)
     */
    private $message;

    /**
     * @var integer $expires
     *
     * @ORM\Column(name="expires", type="integer", nullable=true)
     */
    private $expires;



    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set senderId
     *
     * @param integer $senderId
     * @return Sfnotices
     */
    public function setSenderId($senderId)
    {
        $this->senderId = $senderId;
    
        return $this;
    }

    /**
     * Get senderId
     *
     * @return integer 
     */
    public function getSenderId()
    {
        return $this->senderId;
    }

    /**
     * Set receiverId
     *
     * @param string $receiverId
     * @return Sfnotices
     */
    public function setReceiverId($receiverId)
    {
        $this->receiverId = $receiverId;
    
        return $this;
    }

    /**
     * Get receiverId
     *
     * @return string 
     */
    public function getReceiverId()
    {
        return $this->receiverId;
    }

    /**
     * Set guestEmail
     *
     * @param string $guestEmail
     * @return Sfnotices
     */
    public function setGuestEmail($guestEmail)
    {
        $this->guestEmail = $guestEmail;
    
        return $this;
    }

    /**
     * Get guestEmail
     *
     * @return string 
     */
    public function getGuestEmail()
    {
        return $this->guestEmail;
    }

    /**
     * Set postId
     *
     * @param integer $postId
     * @return Sfnotices
     */
    public function setPostId($postId)
    {
        $this->postId = $postId;
    
        return $this;
    }

    /**
     * Get postId
     *
     * @return integer 
     */
    public function getPostId()
    {
        return $this->postId;
    }

    /**
     * Set link
     *
     * @param string $link
     * @return Sfnotices
     */
    public function setLink($link)
    {
        $this->link = $link;
    
        return $this;
    }

    /**
     * Get link
     *
     * @return string 
     */
    public function getLink()
    {
        return $this->link;
    }

    /**
     * Set linkText
     *
     * @param string $linkText
     * @return Sfnotices
     */
    public function setLinkText($linkText)
    {
        $this->linkText = $linkText;
    
        return $this;
    }

    /**
     * Get linkText
     *
     * @return string 
     */
    public function getLinkText()
    {
        return $this->linkText;
    }

    /**
     * Set message
     *
     * @param string $message
     * @return Sfnotices
     */
    public function setMessage($message)
    {
        $this->message = $message;
    
        return $this;
    }

    /**
     * Get message
     *
     * @return string 
     */
    public function getMessage()
    {
        return $this->message;
    }

    /**
     * Set expires
     *
     * @param integer $expires
     * @return Sfnotices
     */
    public function setExpires($expires)
    {
        $this->expires = $expires;
    
        return $this;
    }

    /**
     * Get expires
     *
     * @return integer 
     */
    public function getExpires()
    {
        return $this->expires;
    }
}